package com.zzedu.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zzedu.domain.ZzSchoolCourseR;
import com.zzedu.dto.ZzSchoolCourseRDTO;
import com.zzedu.mapper.ZzSchoolCourseRMapper;
import com.zzedu.service.IZzSchoolCourseRService;
import org.springframework.stereotype.Service;
/**
 * 课程包关系Service业务层处理
 * 
 * @author Mr.Wang
 * @date 2025-03-03
 */
@Service
public class ZzSchoolCourseRServiceImpl extends ServiceImpl<ZzSchoolCourseRMapper,ZzSchoolCourseR> implements IZzSchoolCourseRService
{

    @Override
    public LambdaQueryWrapper<ZzSchoolCourseR> buildQuery(ZzSchoolCourseRDTO zzSchoolCourseR) {
        LambdaQueryWrapper<ZzSchoolCourseR> lambdaQueryWrapper = Wrappers.lambdaQuery();

        lambdaQueryWrapper.orderByDesc(ZzSchoolCourseR::getId);
        return lambdaQueryWrapper;
    }
}